/**
 * All rights Reserved, Designed By OprCalf
 * Copyright:    Copyright(C) 2016-2020
 * Company       OprCalf Ltd.
 */

package com.platform.gateway.common.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName:  widget-api-spring-boot-starter
 * @package:      com.LengYin.widget.message
 * @className:    ResponseMsg.java
 * @description:  响应体
 * @author:       OprCalf
 * @date:         2019年1月7日
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "响应类", description = "响应类")
public class ResponseMsg<T> {

    @ApiModelProperty(value = "响应状态", example = "00，成功；01，失败")
    private String respStatus;

    @ApiModelProperty(value = "响应描述", example = "例如:找不到用户信息")
    private Object respDesc;

    @ApiModelProperty(value = "响应实体")
    private T data;

}
